package com.carful.xigua.modules.user.dto.request;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author ad
 * Date 2024/4/7 11:25
 * Description
 */

@Data
@Accessors(chain = true)
public class ReqLoginUser {

    /**
     * 账号
     */
    @NotBlank(message = "账号不能为空")
    private String username;
    /**
     * 密码
     */
    @NotBlank(message = "密码不能为空")
    private String password;
}
